package com.fosun.spr.plugin.shiro.api.service;

import com.fosun.spr.plugin.shiro.api.service.model.GetUserByLoginNoSpModel;
import com.fosun.spr.plugin.shiro.api.service.model.GetUserByLoginNoSrModel;
import com.fosun.spr.plugin.shiro.api.service.model.HasPrivilegeSpModel;
import com.fosun.spr.plugin.shiro.api.service.model.HasPrivilegeSrModel;
import com.fosun.spr.plugin.shiro.api.service.model.ListPrivilegeByUserIdSpModel;
import com.fosun.spr.plugin.shiro.api.service.model.ListPrivilegeByUserIdSrModel;
import com.fosun.spr.plugin.shiro.api.service.model.ListUrlPrivilegesSpModel;
import com.fosun.spr.plugin.shiro.api.service.model.ListUrlPrivilegesSrModel;
import com.fosun.spr.plugin.shiro.api.service.model.ListUserMenusSpModel;
import com.fosun.spr.plugin.shiro.api.service.model.ListUserMenusSrModel;
import com.fosun.spr.plugin.shiro.api.service.model.NeedLoginErrorSpModel;
import com.fosun.spr.plugin.shiro.api.service.model.NeedLoginErrorSrModel;
import com.fosun.spr.plugin.shiro.api.service.model.SubmitLoginSpModel;
import com.fosun.spr.plugin.shiro.api.service.model.SubmitLoginSrModel;
import com.fosun.spr.plugin.shiro.api.service.model.SubmitLogoutSpModel;
import com.fosun.spr.plugin.shiro.api.service.model.SubmitLogoutSrModel;

public interface UucLoginService {

	public GetUserByLoginNoSrModel getUserByLoginNo(GetUserByLoginNoSpModel spModel);

	public SubmitLoginSrModel submitLogin(SubmitLoginSpModel spModel);

	public NeedLoginErrorSrModel needLoginError(NeedLoginErrorSpModel spModel);

	public ListUserMenusSrModel listUserMenus(ListUserMenusSpModel spModel);

	public ListPrivilegeByUserIdSrModel listPrivilegeByUserId(ListPrivilegeByUserIdSpModel spModel);

	public SubmitLogoutSrModel submitLogout(SubmitLogoutSpModel spModel);

	public ListUrlPrivilegesSrModel listUrlPrivileges(ListUrlPrivilegesSpModel spModel);

	public HasPrivilegeSrModel hasPrivilege(HasPrivilegeSpModel spModel);

}
